Repository navigation
test(pm-stack): cover remaining #1213 gaps - #4011
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 56 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3e9a0796e5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Test aggregator | ||
| working-directory: pm-stack/aggregator | ||
| run: bun test |
There was a problem hiding this comment.
Fix the dated registry assertion before gating on the full suite
On a clean CI runner, this newly added step encounters the existing failure in test/slice3.test.ts:506: the test requests /api/registry.json with its default seven-day window but expects the sole claude-code fixture, whose last activity is fixed at 2026-10-25T14:31:00Z. That record is already outside the window at this commit's timestamp; directly evaluating the registry query confirms it is excluded. Consequently, the new workflow reports failure on otherwise unrelated PM-stack changes and skips the subsequent projector and shell-smoke steps. Make the assertion independent of wall-clock time before enabling this gate, for example by requesting all registry history in that test.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in commit 2296432, exactly along the suggested line: the slice-3 registry assertion now requests /api/registry.json?window=all, so the fixed-date claude-code fixture (last activity 2026-10-25) can no longer age out of the default 7-day window.
The same run exposed a second fixed-date time-bomb of the same class, also fixed in 2296432: the turso fixture history in src/sources/fixtures.ts paired relative daysAgo() snapshot dates with a hard-coded resetsAt of 2026-10-31; once that date passed, windowStartIndex collapsed the pace window to a single point and the service-detail view lost its Pace projections section (hub renders > service detail failure). The fixture reset is now future-dated relative to the snapshots.
— queue worker, task 4935
) main commit c515c9d made ready-for-agent/install.sh prove a fresh process start via ExecMainStartTimestampMonotonic and changed its success line; the CI merge checkout therefore failed the two ready-for-agent checks (the systemctl stub returned no timestamp). The stub now keeps a start-timestamp state file that restart bumps, and the assertion matches the new running-after-restart line. Both shell harnesses pass locally; grist-live + slice3 bun tests 28/28 pass.
|
Resumed by task 4935 (lane E). Two changes at head
Verified on the laptop at this head: The remaining red check, aggregator Typecheck, is the pre-existing main baseline tracked in #4023: |
Summary
Evidence
bun test test/grist-live.test.ts— 2 passed;pm-stack/projector bun test— 53 passed; both shell smoke harnesses passed, including no second-run POSTs for Grist and Pad.pm-stack/aggregator bun test— 930 passed, 1 failed attest/slice3.test.ts:506(missingclaude-coderegistry record). The identical failure reproduces on a clean export oforigin/mainb5fc3f069213ffc4ca24cea5759b039b5dad37ec(bun test test/slice3.test.ts: 23 passed, 1 failed); it is unrelated to this test-only change and is not modified here.actionlintis unavailable; the new workflow will be checked by GitHub Actions.Merge Danger
Door: two-way — tests and CI configuration only, straightforward to revert.
Blast Radius: CI — enables the PM stack suites and isolated script checks on PM stack changes; no production behavior changes.
Need help on this PR? Tag
@codesmith-botwith what you need.